﻿using System;
using System.Collections.Specialized;

namespace SystemX.Services
{
    public interface ISettingService<T>:ISlimRepository<T>
    {
		string FilePath { get; set; }
        /// <summary>
        /// Loads the settings from the provider.
        /// </summary>
        StringDictionary LoadSettings();
        /// <summary>
        /// Saves the settings to the provider.
        /// </summary>
        void SaveSettings(StringDictionary settings);
		/// <summary>
		/// load settings to strong typed T
		/// </summary>
		/// <returns></returns>
		T Fill();
    }
}
